-- GENERATED SPELL FOR [Leprous Servant] --


function spell0_27800(pUnit, Event) --@Leprous Touch,n/a--
pUnit:FullCastSpellOnTarget(51315,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_27800', 8000, 1)
end

function Sorts_27800(pUnit, Event)
local choix_sorts_27800 = math.random(0, 0)
if choix_sorts_27800 == 0 then
pUnit:RegisterEvent('spell0_27800', 1, 1)
end
end

function mob27800_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_27800', math.random(1500, 3000), 1)
end

function mob27800_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27800_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27800_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(27800, 1, 'mob27800_Action')
RegisterUnitEvent(27800, 2, 'mob27800_Leave')
RegisterUnitEvent(27800, 3, 'mob27800_Kill')
RegisterUnitEvent(27800, 4, 'mob27800_Die')
